Skip to main content

Available Models

The Agent API supports direct access to models from multiple providers. All models are accessed directly from first-party providers with transparent token-based pricing. Pricing rates are updated monthly and reflect direct first-party provider pricing with no markup. All charges are based on actual token consumption, and every API response includes exact token counts so you know your costs per request.
Not all third-party models support all features (e.g., reasoning, tools). Check model documentation for specific capabilities.
See Your Costs in Real-Time: Every response includes a usage field with exact input tokens, output tokens, and cache read tokens. Calculate your cost instantly using the pricing table above.Example response:

Configuration Options

The Agent API supports two ways to configure models:
  1. Presets: Pre-configured model setups optimized for specific use cases.
  2. Models: Direct model selection, including third-party models

Model Fallback

For high-availability applications, you can specify multiple models in a fallback chain. When one model fails or is unavailable, the API automatically tries the next model in the chain.

Model Fallback Chain

Learn how to use model fallback chains to ensure high availability and reliability by automatically trying multiple models when one fails.
Example:
For detailed examples, pricing information, and best practices, see the Model Fallback documentation.

Next Steps

Model Fallback

Learn how to use model fallback chains for higher availability.

Presets

Explore available presets and their configurations.

Agent API Quickstart

Get started with your first Agent API call.

API Reference

View complete endpoint documentation.