inference
OpenAI-compatible chat completion through the OpenRouter model gateway (see /api/v1/models for the catalogue). $0.01 charged per call: pay $0.01 exact on Base or Solana, or authorize up to $1.00 with the Base "upto" scheme and still be charged $0.01.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model ID (see /api/v1/models) | deepseek/deepseek-v4-flash |
| stream | No | Enable SSE streaming | |
| messages | Yes | Chat messages array |