An affordable AI gateway for every AI model
Route across intelligent models with a single API key. Unified OpenAI & Anthropic compatible endpoint, transparent USD pricing, and edge routing.
from openai import OpenAI
# Drop-in replacement: Simply point base_url to Flexlora
client = OpenAI(
base_url="https://api.flexlora.com/v1",
api_key="flx-live-your-secret-key"
)
response = client.chat.completions.create(
model="flexlora:fast",
messages=[
{"role": "user", "content": "Explain edge AI routing"}
],
temperature=0.7,
stream=True
)
for chunk in response:
print(chunk.choices[0].delta.content or "", end="", flush=True)Unified edge intelligence catalog
One endpoint for Cursor, Claude & SDKs
Global Cloudflare Worker edge
Instant logs, analytics & CSV export
3 Steps, Start Coding
From signup to AI-assisted coding and agent execution in under 2 minutes.
Sign Up & Generate Key
Create your free developer console account in seconds. Generate your flx-live-... key instantly with 7M free daily tokens.
Set Up Your Favorite Tool
Paste the Base URL (https://api.flexlora.com/v1) and your secret key into Cursor, Claude Code, or OpenCode.
Start Building & Routing
Query flexlora:fast or flexlora:smart with edge caching and response streaming.
Works with the tools you already use
Drop Flexlora into your favorite coding agents, AI IDEs, and OpenAI/Anthropic compatible clients.
Cursor
AI Code Editor
Claude Code
Terminal Agent
OpenCode
CLI & VS Code
Codex CLI
Terminal Coding
VS Code
IDE Extension
OpenClaw
Agent Framework
Hermes Agent
Autonomous Agent
Droid Factory
Agent Studio
Factory CLI
Terminal Dev
Tools More
Universal SDKs
Frequently Asked Questions
Everything you need to know about Flexlora, pricing, model routing, and agent integrations.
What is Flexlora Edge?
Flexlora is an edge AI gateway. It provides single-endpoint routing for OpenAI and Anthropic SDKs with edge caching and token accounting.
How does the pricing and billing work?
We offer transparent USD and BDT packages with daily token allowances as well as on-demand Pay-As-You-Go credit balances. Token consumption follows FIFO (First-In, First-Out) accounting based on expiration dates.
Can I use Flexlora with Cursor, Claude Code, and OpenCode?
Yes! Flexlora is 100% drop-in compatible with any tool that supports custom OpenAI or Anthropic base URLs. Set your Base URL to https://api.flexlora.com/v1 and enter your Flexlora API key.
What models are included?
Our model catalog features curated edge models including flexlora:fast and flexlora:smart for multi-step reasoning.
Are top-up credits and packages refundable?
Top-up credits and token packages are digital software allowances and non-refundable. You can evaluate our edge performance on the Free tier (7M tokens/day) before purchasing paid allowances.
How do I get an API key?
Sign in to the developer console, navigate to API Keys, and click 'Create API Key'. You can immediately start using your key in your favorite development tools and agents.