FastMetal homeFastMetal
  • Chat
  • Studio
    • Image StudioMake images from text or photos
    • Video StudioMake videos of a person in a photo dancing or talking
    • AudioMake music and sound effects from one line of text
  • Ads
  • Pricing
  • Models
    • Model catalogCompare models by rank, context length and data policy
    • Model pricesThe price of each model in one table
  • API
    • API docsEndpoints and authenticationhttps://api.fastmetal.ai/v1
    • AI gatewayOpenAI-compatible and Anthropic-compatible API
    • MCP serverUse from agents such as Claude Code
  • Blog
Sign inSign up
  • Chat
  • Studio

    • Image StudioMake images from text or photos
    • Video StudioMake videos of a person in a photo dancing or talking
    • AudioMake music and sound effects from one line of text
  • Ads
  • Pricing
  • Models

    • Model catalogCompare models by rank, context length and data policy
    • Model pricesThe price of each model in one table
  • API

    • API docsEndpoints and authenticationhttps://api.fastmetal.ai/v1
    • AI gatewayOpenAI-compatible and Anthropic-compatible API
    • MCP serverUse from agents such as Claude Code
  • Blog
Sign inSign up

API

  • Overview
  • Getting Started
  • Models
  • Reasoning Control
  • Video Generation
  • Structured Decisions
  • Media Uploads
  • Speech
  • Transcription
  • Music
  • Sound effects

Concepts

  • LLM API concepts
  • Errors and limits

Agents

  • All guides
  • MCP Server
  • Octofriend
  • Hermes
  • Claude Code
  • Crush
  • Opencode
  • GitHub Copilot
  • Cursor
  • DeepSeek Harness
  • OpenClaw
  • Xcode Intelligence

OpenAI Reference

  • /models
  • /chat/completions
  • /completions

Anthropic Reference

  • /messages
  • /messages/count_tokens

Platform Reference

  • /key/info
  • Plans and the API

Help

  • FAQ

API Overview

FastMetal provides an OpenAI-compatible API and Anthropic-compatible API for all models we support. Use your existing tools and libraries with minimal configuration changes.

Authentication

All API requests require authentication using an API key. Include your key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Base URLs

Make requests to the appropriate base URL for your chosen API format:

https://api.fastmetal.ai/v1

Supported Endpoints

OpenAI Compatible

/models: List available models /chat/completions: Chat-based completions with conversation history /responses: The Responses API (the format Codex uses) /completions: Traditional text completions

Anthropic Compatible

/messages: Send and receive messages /messages/count_tokens: Count tokens in messages

Platform

/key/info: Check your API key's budget, spend and remaining balance

Images, video and decisions

/images/generations: Generate an image from a prompt /images/edits: Edit images with a prompt (multipart files) /videos/create and /videos/<skuKey>/create: Start a video job, one route per model /videos/jobs/{id}: Check a video job /videos/jobs/{id}/content: Download the finished video /decisions/<skuKey>: Ask a structured-decision model

Media

Upload an image once with your API key at POST /v1/media, then read, share or delete it by its id.

Media Uploads

Rate Limits

Rate limits are determined by your account's budget. Requests are rejected when your spend exceeds your available balance. Monitor your usage on the dashboard to avoid interruptions.

Error Handling

The API returns standard HTTP status codes. Common errors include:

401Invalid or missing API key
400Invalid request
429Budget exhausted (the error type is budget_exceeded) or rate limit exceeded
500Internal server error

For developers and AI agents

API docs
Base URL
https://api.fastmetal.ai/v1
MCP server
https://mcp.fastmetal.ai/mcp
  • llms.txt
  • MCP guide
  • Products
  • Pricing and models
  • Developers
  • Comparisons
  • Support and account
  • Pricing
  • Models
  • Model comparisons
  • Rankings by use case
  • Compare services
  • API docs
  • For business
  • Contact
FastMetal homeFastMetal
  • Terms of service
  • Privacy policy
  • Company information
  • Sites built with AI
  • Sitemap

© 2026 FastMetal