fastmetal-ai core API

fastmetal-ai core API as documented publicly: 4 operations. Contract generated from the documentation by API Evangelist (2026-10-30); not the provider's own document.

Operations 4

GET /key/info GET /key/info #
POST /v1/completions Creates a completion for the provided prompt. #
POST /v1/messages Send a structured list of input messages and receive a model-generated message. #
POST /v1/messages/count_tokens Count the number of tokens in a message without generating a response. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fastmetal-ai:core-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fastmetal-ai-core-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: fastmetal-ai core API
  version: '2026-10-30'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-30: 4 operation(s) read from 4 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; fastmetal-ai has published no machine-readable contract that
    the pipeline could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 7
    documentation: 7
    pages-with-code: 8
    pages-read: 13
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-30'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://fastmetal.ai/docs/anthropic/count-tokens
  - https://fastmetal.ai/docs/anthropic/messages
  - https://fastmetal.ai/docs/openai/completions
  - https://fastmetal.ai/docs/synthetic/quotas
  x-docs-section: core
servers:
- url: https://api.fastmetal.ai
paths:
  /key/info:
    get:
      operationId: get_key_info
      tags:
      - Key
      summary: GET /key/info
      x-source: https://fastmetal.ai/docs/synthetic/quotas
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetKeyInfoResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.fastmetal.ai/key/info  -H \"Authorization: Bearer YOUR_API_KEY\" Response info.spend Total amount spent on\
          \ this key info.max_budget Maximum budget for this key Available balance is max_budget − spend. All amounts are in the smallest currency\
          \ unit (yen on a JPY account, cents on a USD account). Response Copy to clipboard {\n \"key\": \"sk-...\",\n \"info\": {\n \"spend\"\
          : 1234,\n \"max_budget\": 1"
  /v1/completions:
    post:
      operationId: post_v1_completions
      tags:
      - Completions
      summary: Creates a completion for the provided prompt.
      x-source: https://fastmetal.ai/docs/openai/completions
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1CompletionsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/messages:
    post:
      operationId: post_v1_messages
      tags:
      - Messages
      summary: Send a structured list of input messages and receive a model-generated message.
      x-source: https://fastmetal.ai/docs/anthropic/messages
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1MessagesRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1MessagesResponse'
      x-evidence:
        kind: documentation
  /v1/messages/count_tokens:
    post:
      operationId: post_v1_messages_count_tokens
      tags:
      - Messages
      summary: Count the number of tokens in a message without generating a response.
      x-source: https://fastmetal.ai/docs/anthropic/count-tokens
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1MessagesCountTokensRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
security:
- bearer: []
components:
  schemas:
    GetKeyInfoResponse:
      type: object
      properties:
        key:
          type: string
        info:
          type: object
          properties:
            spend:
              type: integer
            max_budget:
              type: integer
    PostV1CompletionsRequest:
      type: object
      properties:
        model:
          type: string
          description: ID of the model to use
        prompt:
          type: string
          description: The prompt to generate completions for
        max_tokens:
          type: integer
          description: Maximum tokens to generate
        temperature:
          type: number
          description: 'Sampling temperature 0-2 (default: 1)'
      required:
      - model
      - prompt
    PostV1MessagesRequest:
      type: object
      properties:
        model:
          type: string
          description: The model to use
        messages:
          type: array
          description: Array of message objects
        max_tokens:
          type: integer
          description: Maximum tokens to generate
        system:
          type: string
          description: System instructions or context
        stream:
          type: boolean
          description: Enable server-sent events streaming
        temperature:
          type: number
          description: Sampling randomness control
        tools:
          type: array
          description: Available functions for tool use
        tool_choice:
          type: string
          description: Tool invocation behavior
        reasoning:
          type: object
          description: Thinking (reasoning) control
      required:
      - model
      - messages
      - max_tokens
    PostV1MessagesResponse:
      type: object
      properties:
        id:
          type: string
          description: Message identifier
        type:
          type: string
          description: Type of response
        role:
          type: string
          description: Role of the message sender
        model:
          type: string
          description: Model identifier
        content:
          type: array
          description: Content array with message blocks
        stop_reason:
          type: string
          description: Reason message generation stopped
        usage:
          type: object
          description: Token usage metrics
    PostV1MessagesCountTokensRequest:
      type: object
      properties:
        model:
          type: string
          description: The model to use for tokenization
        messages:
          type: array
          description: Messages to count tokens for
      required:
      - model
      - messages
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
tags:
- name: Completions
- name: Key
- name: Messages