Skip to main content

Basic Request

All text models use the same endpoint with an OpenAI-compatible message format:

Choosing the Right Model

Starter models (gpt-5-nano, claude-haiku-4.5, gemini-2.5-flash, deepseek-v3, grok-4-fast) are available without a subscription. Switch to paid models when you need higher quality.

Full Model Reference

System Prompts

Use the system role to set context and behaviour for the model:

Multi-turn Conversations

Pass the full conversation history in the messages array:

Streaming

Add "stream": true to receive tokens as they’re generated:

Parameters Reference

Response Format