AI By TryFlama API
An OpenAI & Anthropic compatible API for NVIDIA, Google, OpenAI, Cohere, Meta and more. Chat, reasoning, vision, and tool calling through a single endpoint.
Quick start
Create an account, generate a token at /token, and use the OpenAI SDK pointing to our base URL.
base_url: https://api.ai.tryflama.com/v1api_key: tf_sk_...Getting Started
Set up your account, generate an API key, and make your first request in under 5 minutes.
Authentication
How API keys work, header formats, and security best practices.
Models
Browse all available AI models, their capabilities, pricing, and rate limits.
API Reference
Complete reference for /v1/chat/completions: parameters, request body, and response format.
Streaming
Receive responses in real-time with server-sent events. Includes client examples.
Errors
HTTP status codes, error response format, and how to handle common failures.
Code Examples
Ready-to-use code snippets in cURL, Python, TypeScript, and more.