Getting Started with TokenFast
Getting Started with TokenFast
Welcome to TokenFast! This guide will walk you through everything you need to start making API calls to the world's best AI models in under five minutes.
Step 1: Create Your Account
Head to tokenfast.ai and sign up with your email or GitHub account. No credit card is required to create an account.
Step 2: Generate an API Key
Once logged in, navigate to your Dashboard and click Create New Key. Your key will look something like:
sk-akh-xxxxxxxxxxxxxxxxxxxx
Copy it somewhere safe — for security, we only show the full key once.
Step 3: Make Your First Request
TokenFast is fully compatible with the OpenAI SDK. Here's how to call Claude using the OpenAI Python library:
from openai import OpenAI
client = OpenAI(
api_key="sk-akh-your-key-here",
base_url="https://api.tokenfast.ai/v1",
)
response = client.chat.completions.create(
model="claude-4-6-sonnet",
messages=[
{"role": "user", "content": "Explain quantum computing in one paragraph."}
],
)
print(response.choices[0].message.content)
Or with Node.js:
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "sk-akh-your-key-here",
baseURL: "https://api.tokenfast.ai/v1",
});
const response = await client.chat.completions.create({
model: "gpt-4o",
messages: [
{ role: "user", content: "Write a haiku about programming." },
],
});
console.log(response.choices[0].message.content);
Step 4: Monitor Your Usage
Visit the Analytics section in your dashboard to see real-time token consumption, cost breakdowns by model, and request history. Set up budget alerts to stay in control of your spending.
Available Models
You can use any of our 50+ supported models by specifying the model name in your request. Popular options include:
| Model | Provider | Best For |
|---|---|---|
| claude-4-6-opus | Anthropic | Complex reasoning, analysis |
| claude-4-6-sonnet | Anthropic | Balanced performance & cost |
| gpt-4o | OpenAI | General purpose, vision |
| gpt-4o-mini | OpenAI | Fast, cost-effective tasks |
| gemini-2.5-pro | Long context, multimodal | |
| o3 | OpenAI | Advanced reasoning |
What's Next?
- Browse the Models page for the full catalog with live pricing.
- Check out our API Reference for advanced features like streaming, function calling, and JSON mode.
- Join our Discord community to connect with other developers.
Happy building!