fireworks-ai-inference

fireworks-ai-inference is a skill for Claude Code, Codex from synthetic-sciences/openscience. It costs 62 tokens per session (5,595 once invoked), scanned C, original, Apache-2.0.

Fast inference and fine-tuning platform with serverless and on-demand GPU deployments. OpenAI-compatible API for chat completions, embeddings, function calling, vision, and structured output. Supports SFT, DPO, and RL fine-tuning. SOC2 + HIPAA compliant.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/synthetic-sciences/openscience/fireworks-ai
Any agent
npx skills add synthetic-sciences/openscience --skill fireworks-ai
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fireworks-ai-inference

README.md
[![agentmods](https://agentmods.dev/badge/skills/synthetic-sciences/openscience/fireworks-ai.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/fireworks-ai)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/fireworks-ai"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/fireworks-ai.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,595 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00062 $0.05595
Opus 5 $0.00031 $0.02797
Sonnet 5 $0.00012 $0.01119
Haiku 4.5 $0.00006 $0.00560

Measured today against content hash 1e7cc52e0cd6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

fireworks-ai-inference scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sSL https://cli.fireworks.ai/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.post(url, headers=headers, json=payload)
backend/cli/skills/cloud-compute/fireworks-ai/SKILL.md · 679 lines

How it starts

The opening of the file, as written. The whole thing — 679 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fireworks AI -- Fast Inference & Fine-Tuning

Fastest open-model inference platform with serverless and on-demand GPU deployments, OpenAI-compatible API, and built-in fine-tuning (SFT, DPO, RL).

When to Use Fireworks AI

Use Fireworks AI when:

  • Need fast serverless inference for open-source models (Llama, Qwen, DeepSeek, Mixtral)
  • Want OpenAI SDK drop-in replacement with open models
  • Need fine-tuning without managing infrastructure (SFT, DPO, RL)
  • Require structured output / JSON mode / function calling with open models
  • Need dedicated GPU deployments with predictable latency
  • Require SOC2 or HIPAA compliance
  • Want prompt caching and batch inference for cost savings

Use alternatives instead:

Need Use Instead
Self-hosted inference (full control) vLLM, TensorRT-LLM
Cheapest serverless inference Groq (free tier), Together AI
Managed LoRA fine-tuning (no infra) Tinker
Closed-model APIs (GPT-4, Claude) OpenAI, Anthropic direct
GPU instances with SSH access Lambda Labs, RunPod
Multi-cloud orchestration SkyPilot

Credential Setup

Credentials are auto-injected by openscience when connected via the dashboard.

# Verify credentials
[ -n "$FIREWORKS_API_KEY" ] && echo "FIREWORKS_API_KEY set" || echo "NOT SET"

If not set: add your Fireworks AI key in Customize → Models or export FIREWORKS_API_KEY locally.

Quick Start

Install

pip install fireworks-ai openai

Set API key

import os
os.environ["FIREWORKS_API_KEY"] = "fw_..."  # from https://fireworks.ai/api-keys

Basic chat completion

from openai import OpenAI

client = OpenAI(
    base_url="https://api.fireworks.ai/inference/v1",
    api_key=os.environ["FIREWORKS_API_KEY"],
)

response = client.chat.completions.create(
    model="accounts/fireworks/models/llama-v3p3-70b-instruct",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Explain gradient descent in two sentences."},
    ],
    max_tokens=256,
    temperature=0.7,
)
print(response.choices[0].message.content)

Read the full file on GitHub · 679 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 679 lines · 62 tokens per session scan C 1e7cc52e0cd6

Subscribe to this mod's changes

fireworks-ai-inference is a skill published in the GitHub repository synthetic-sciences/openscience (3,432 stars, last pushed today), licensed Apache-2.0. It adds 62 tokens to every session and 5,595 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

bids

Use this skill when working with Brain Imaging Data Structure (BIDS) datasets: organizing neuroscience and biomedical data (MRI, EEG, MEG, iEEG, PET, microscopy, NIRS, motion capture, EMG, MR spectroscopy, behavioral), querying BIDS layouts, validating compliance, converting DICOM to BIDS, writing metadata sidecars…

K-Dense-AI/scientific-agent-skills · 80 tokens

genomic-intelligence

Predict regulatory features, gene structure, and expression directly from DNA sequence using Genomic Intelligence's hosted transformer DNA language models — no local GPU or model weights. Six tasks over a REST API and a hosted MCP server (keyless public demo): promoter regions, splice donor/acceptor sites, enhancer…

K-Dense-AI/scientific-agent-skills · 150 tokens

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…

K-Dense-AI/scientific-agent-skills · 66 tokens

database-lookup

Query documented public database APIs with explicit endpoints, filters, pagination, and provenance. Use when a scientific, regulatory, financial, or other database-backed fact must be retrieved reproducibly from a named source rather than inferred from general knowledge.

K-Dense-AI/scientific-agent-skills · 50 tokens

fda

Query openFDA via VenusFactory for drugs, devices, adverse events, recalls, and regulatory submissions (510k, PMA). Use when the user needs FDA pharmacovigilance, labeling, NDC/UNII, or openFDA analytics. Do NOT use for ChEMBL bioactivity (chembldatabase) or general biomedical literature (pubmed).

ai4protein/VenusFactory2 · 75 tokens

multiome-scatac

Workflow for paired or integrated single-cell RNA and ATAC analysis with multimodal latent spaces and regulatory interpretation.

zongtingwei/Bioclaw_Skills_Hub · 27 tokens