OpenAI-compatible API with simple, predictable pricing
curl https://rhodesagi.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "rhodes",
"messages": [
{"role": "user", "content": "Hello, Rhodes!"}
]
}'
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://rhodesagi.com/v1"
)
response = client.chat.completions.create(
model="rhodes",
messages=[
{"role": "user", "content": "Hello, Rhodes!"}
]
)
print(response.choices[0].message.content)
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'YOUR_API_KEY',
baseURL: 'https://rhodesagi.com/v1'
});
const response = await client.chat.completions.create({
model: 'rhodes',
messages: [
{ role: 'user', content: 'Hello, Rhodes!' }
]
});
console.log(response.choices[0].message.content);
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/chat/completions | Create chat completion (streaming supported) |
| GET | /v1/usage | Get your usage statistics |
| GET | /v1/account | Get account information |
Drop-in replacement. Use existing SDKs and tools with just a URL change.
Real-time SSE streaming for interactive applications. Same format as OpenAI.
Process long documents, codebases, and conversations.
One price. No confusing tiers. Pay only for what you use.
Low latency with high availability. Built for production.
Generous limits included. Scale seamlessly.