Replicate API exposes Mamba 130M through model ID adirik/mamba-130m. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-05-19. Next refresh: weekly.
Quick Start
- 1
- 2Use the Replicate API SDK or REST API to call
adirik/mamba-130m— see the documentation for request format.
Code Examples
Install
pip install replicateAPI key
REPLICATE_API_TOKENModel ID
adirik/mamba-130mReplicate uses "owner/model-name" format (e.g. "meta/meta-llama-3-8b-instruct") for the latest version, or "owner/model-name:version-sha" to pin to a specific version. The REST endpoint splits owner and model-name into the path: /v1/models/{owner}/{model-name}/predictions.
import replicate
# reads REPLICATE_API_TOKEN from env
# adirik/mamba-130m format: "owner/model-name" (latest version) or "owner/model-name:version-hash"
output = replicate.run(
"adirik/mamba-130m",
input={"prompt": "Hello"}
)
# Output is a list or generator depending on the model
print("".join(output))Pricing on Replicate API
Capabilities
No model capability flags are currently sourced.
About Mamba 130M
Mamba 130M is State Spaces' Mamba model. Its knowledge cutoff is 2020.
Model Specs
Released2023-12-01
Parameters130M
Context2k
ArchitectureDecoder Only
Knowledge cutoff2020