tokens&
BrowseFor enterprises
Grow product adoption
tokens&

Find tools, check provider offers, save a build plan, and share your work when you’re ready.

For buildersFor enterprises

For builders

  • Product launches
  • Builder projects
  • Startup credits and perks
  • Agent Skills
  • Published agents
  • API and agent docs
  • Publish a project

For enterprises

  • Start free company workspace
  • Submit a tool, product, or perk

Community

  • Community
  • Newsletter
  • Events
Xin

© 2026 tokensand, LLC. All rights reserved.

  • Terms
  • Privacy
  • Security
  • Data Processing
  • Status
  1. Home
  2. Tools
  3. Cloud Deploy
  4. Cog
Cog logo

Cog

Cloud Deploy · Open source

Replicate open-source tool for packaging machine learning models as reproducible containers and APIs.

Visit websiteDocs

Related tools

Explore products with related capabilities. Check their details for your use case.

Browse the category

No close matches in this selection. Browse the category to explore more tools.

Evaluate for your team
Is this your company?Verify ownership · Add products · See activity
OverviewProduct evaluationResources

Product evaluation

Review Cog for your team’s requirements before a technical pilot.

Commercial model

Open source

View vendor website

Listed pricing category. Confirm current rates, limits and enterprise contract terms with the vendor.

Implementation

API listed · Open source listed

DocumentationSource repository

Validate integration, deployment and operational requirements in your own environment.

Enterprise review

Security, data handling, support and contract terms require vendor confirmation. Linked sources do not establish certification or approval.

Resources

Documentation and setup for builders and coding agents.

Cog websiteCog documentationCog GitHub repositoryCog source evidence
Setup & agents

Quickstart

Preparing Cog docs pack
Streaming

The product profile is ready. Official docs, README snippets, and the AI paste pack are loading in the background.

Follow, compare & product details

Community support for Cog. Votes do not verify product usage.

Add projectEmbed badgeFor companies
Start building with Cog
Python

Detected in linked setup sources

Paste into a fresh Python file and run.

python
from cog import BaseRunner, Input, Path
import torch

class Runner(BaseRunner):
    def setup(self):
        """Load the model into memory to make running multiple inferences efficient"""
        self.model = torch.load("./weights.pth")

    # The arguments and types the model takes as input
    def run(self,
          image: Path = Input(description="Grayscale input image")
    ) -> Path:
        """Run the model"""
        processed_image = preprocess(image)
        output = self.model(processed_image)
        return postprocess(output)
Docs:Official DocsGitHubWebsite